package com.edu.entity.chat;

import java.util.Date;

public class Updatechat {
    private int id;
    private Date newtime;

    public Updatechat() {
    }

    public Updatechat(int id, Date newtime) {
        this.id = id;
        this.newtime = newtime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getNewtime() {
        return newtime;
    }

    public void setNewtime(Date newtime) {
        this.newtime = newtime;
    }

    @Override
    public String toString() {
        return "updatechat{" +
                "id=" + id +
                ", newtime=" + newtime +
                '}';
    }
}
